package com.cdtu.dto;

import com.fasterxml.jackson.annotation.JsonFormat;
import lombok.Data;

import java.util.Date;

/**
 * @author : Sakura
 * @Date : 2023/10/29 11:36
 * @Description : TODO
 */
@Data
public class OrderDTO {
    private Long id;
    private String userName;
    private String sightName;
    private Integer used;
    @JsonFormat(pattern="yyyy-MM-dd HH:mm:ss")
    private Date useTime;
    private String phone;
    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss")
    private Date buyTime;
    private String ticketName;
    private Double price;
    private Integer cancel;
}
